<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>结果页</title>
</head>
<body>

<%!
   String str="xxxx";
%>

<!-- 从请求的上下文中取出登录标识值 -->
<h1 style="text-align: center">
<%
   Object o=request.getAttribute("login");
   if(null!=o){
	   out.append("登录成功");
   }else{
	   out.append("登录失败");
   }
%>
</h1>


</body>
</html>